<form action="<?php echo url_for('user/check'); ?>" method="post">
    <table width="45%" cellpadding="2" cellspacing="1" style="float:left;">        
            <tr class="heading">
                <td  colspan="2">
                    Sign In/Login Form
                </td>
            </tr>        
            <tfoot>
              <tr>
                <td colspan="2">
                  <?php echo $form->renderHiddenFields(false); ?>
                  &nbsp;
                  <input type="submit" value="Sign In" />
                  <?php echo link_to('Forgot Password', '@forgot_password'); ?>
                </td>
              </tr>
            </tfoot>
            <tbody>
                <?php
                  if ($sf_user->hasFlash('error'))
                  {
                ?>
                <tr>
                    <td colspan="2" class="error">
                        <?php echo $sf_user->getFlash('error'); ?>
                    </td>
                </tr>
                <?php
                      }
                ?>
            <?php
                echo $form;
            ?>
            </tbody>
    </table>
    <table width="50%" style="float:right;" cellpadding="2" cellspacing="2">
        <tr>
            <td>
               <a href="<?php echo url_for('user/new'); ?>">Sign Up</a>
            </td>
        </tr>
    </table>
</form>